ThinkPHP5


think\console\command\Lists
library\think\console\command\Lists.php at line 21

Class Lists

Command
└─Lists

public class Lists
extends Command


Method Summary
protected void

configure()

配置指令

Definition

getNativeDefinition()

获取当前指令的参数定义

protected null|int

execute(Input input, Output output)

执行指令

Methods inherited from think\console\Command
__construct, addArgument, addOption, addUsage, configure, execute, getAliases, getConsole, getDefinition, getDescription, getHelp, getName, getNativeDefinition, getProcessedHelp, getSynopsis, getUsages, ignoreValidationErrors, initialize, interact, isEnabled, mergeConsoleDefinition, run, setAliases, setCode, setConsole, setDefinition, setDescription, setHelp, setName

Method Detail

library\think\console\command\Lists.php at line 27

configure

protected void configure()

配置指令


library\think\console\command\Lists.php at line 48

getNativeDefinition

public Definition getNativeDefinition()

获取当前指令的参数定义


library\think\console\command\Lists.php at line 56

execute

protected null|int execute(Input input, Output output)

执行指令

Throws:
\LogicException
See Also:
setCode()

ThinkPHP5